'use strict';
const now = new Date()
module.exports = {
  up: async (queryInterface, Sequelize) => {
    /**
     * Add seed commands here.
     *
     * Example:
     * await queryInterface.bulkInsert('People', [{
     *   name: 'John Doe',
     *   isBetaMember: false
     * }], {});
    */
   await queryInterface.bulkInsert('Admin' ,[{
      username: 'admin',
      password: '30837a7332997c76ea2aacc181d4b472',
      salt: '11fcad',
      createdAt: now,
      updatedAt: now
    }], {});
  },

  down: async (queryInterface, Sequelize) => {
    /**
     * Add commands to revert seed here.
     *
     * Example:
     * await queryInterface.bulkDelete('People', null, {});
     */
    await queryInterface.bulkDelete('Admin', { username: 'admin' }, {});
  }
};
